import request from "@/api/index"

export default{
  /**
   * @description: 添加投塘详情 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
   add(params){
    const url = "/batch/inputPondDetail/add"
    return request.post(url,params)
  },
  /**
   * @description: 修改投塘详情 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
   edit(params){
    const url = "/batch/inputPondDetail/edit"
    return request.post(url,params)
  },
  /**
   * @description: 单个删除投塘详情 *代表必填
   * @param {String/Number} id *
   * @return {Object}
   */
   delById(params){
    const url = "/batch/inputPondDetail/delById"
    return request.get(url,params)
  },
  /**
   * @description: 根据鱼塘查询批次 *代表必填
   * @param {String/Number} pondId *
   * @return {Object}
   */
  queryBatchByFishPondId(params){
    const url = "/batch/inputPondDetail/queryBatchByFishPondId"
    return request.get(url,params)
  },
  /**
   * @description: 分页查询投塘详情 *代表必填
   * @param {Object} params *
   * @param {String/Number} page *
   * @param {String/Number} size *
   * @return {Object}
   */
   queryPageByCondition(params){
    const url = "/batch/inputPondDetail/queryPageByCondition"
    return request.post(url,params)
  },
}
